package com.hou.shop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hou.common.utils.PageUtils;
import com.hou.shop.product.entity.AttrGroupEntity;
import com.hou.shop.product.vo.AttrGroupWithAttrsVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author houzongdu
 * @email 1716532921@qq.com
 * @date 2022-01-16 16:38:38
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageById(Map<String, Object> params, Long catId);

    // 获取分类下所有分组&关联属性
    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);
}

